﻿/******************************************************************************
 * 【本类功能概述】                                 					      *
 *  版权所有（C）2020-20XX，                                        *
 *  保留所有权利。                                                            *
 ******************************************************************************
 *  作者 : <hughjk>
 *  创建时间:2019/11/24 22:20:42
 *  文件描述: 
 *****************************************************************************/
using Ability;
using StateModel;
using System;
using System.Collections.Generic;
using UnityEngine;

public class ModelInfo : MonoBehaviour
{
    [HideInInspector] public Controller m_controller;
    [HideInInspector] public AbilityManage m_AbilityManage => m_controller.m_AbilityManage;
    [HideInInspector] public Instruct m_input => m_controller.m_input;
    [HideInInspector] public Transform m_transform => m_controller.transform;
    [HideInInspector] public Rigidbody2D m_rig => m_controller.m_rig;
    [HideInInspector] public Vector2 m_Pos => m_controller.m_transform.position;
    [HideInInspector] public StateManage m_StateManage => m_controller.m_StateManage;

    public virtual void InitData(Controller controller)
    {

    }
    public virtual void InitModel(Controller controller)
    {
        m_controller = controller;
    }
    public virtual void GetModel()
    {

    }
    public virtual void OnUpdata(float dt)
    {

    }
}

